package com.fr.report.core.barcode;

import com.fr.report.core.barcode.line.code128.Code128Barcode;
import com.fr.report.core.barcode.line.code128.UCCEAN128Barcode;
import com.fr.report.core.barcode.line.code39.Code39Barcode;
import com.fr.report.core.barcode.line.codebar.CodabarBarcode;
import com.fr.report.core.barcode.pdf417.PDF417Barcode;

public final class BarcodeFactory
{
  public static BarcodeImpl createCode128(String paramString)
    throws BarcodeException
  {
    return new Code128Barcode(paramString, 3);
  }

  public static BarcodeImpl createCode128A(String paramString)
    throws BarcodeException
  {
    return new Code128Barcode(paramString, 0);
  }

  public static BarcodeImpl createCode128B(String paramString)
    throws BarcodeException
  {
    return new Code128Barcode(paramString, 1);
  }

  public static BarcodeImpl createCode128C(String paramString)
    throws BarcodeException
  {
    return new Code128Barcode(paramString, 2);
  }

  public static BarcodeImpl createUCC128(String paramString1, String paramString2)
    throws BarcodeException
  {
    return new UCCEAN128Barcode(paramString1, paramString2);
  }

  public static BarcodeImpl createEAN128(String paramString)
    throws BarcodeException
  {
    return new UCCEAN128Barcode("01", paramString);
  }

  public static BarcodeImpl createUSPS(String paramString)
    throws BarcodeException
  {
    return new UCCEAN128Barcode("420", paramString);
  }

  public static BarcodeImpl createShipmentIdentificationNumber(String paramString)
    throws BarcodeException
  {
    return new UCCEAN128Barcode("402", paramString);
  }

  public static BarcodeImpl createSSCC18(String paramString)
    throws BarcodeException
  {
    return new UCCEAN128Barcode("00", paramString);
  }

  public static BarcodeImpl createSCC14ShippingCode(String paramString)
    throws BarcodeException
  {
    return new UCCEAN128Barcode("01", paramString);
  }

  public static BarcodeImpl createGlobalTradeItemNumber(String paramString)
    throws BarcodeException
  {
    return new UCCEAN128Barcode("01", paramString);
  }

  public static BarcodeImpl createPDF417(String paramString)
    throws BarcodeException
  {
    return new PDF417Barcode(paramString);
  }

  public static BarcodeImpl createCode39(String paramString, boolean paramBoolean)
    throws BarcodeException
  {
    return new Code39Barcode(paramString, paramBoolean);
  }

  public static BarcodeImpl createCodabar(String paramString)
    throws BarcodeException
  {
    return new CodabarBarcode(paramString);
  }

  public static BarcodeImpl createUSD4(String paramString)
    throws BarcodeException
  {
    return new CodabarBarcode(paramString);
  }

  public static BarcodeImpl createNW7(String paramString)
    throws BarcodeException
  {
    return new CodabarBarcode(paramString);
  }

  public static BarcodeImpl createMonarch(String paramString)
    throws BarcodeException
  {
    return new CodabarBarcode(paramString);
  }

  public static BarcodeImpl create2of7(String paramString)
    throws BarcodeException
  {
    return new CodabarBarcode(paramString);
  }
}